Deprecated List (JACOB : Java COM Bridge API Docs)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Contents

- Deprecated Methods

Deprecated Methods
com.jacob.com.Variant.cloneIndirect() No longer used
com.jacob.com.JacobObject.getBuildDate() use JacobReleaseInfo.getBuildDate() instead.
com.jacob.com.JacobObject.getBuildVersion() use JacobReleaseInfo.getBuildVersion() instead.
com.jacob.com.Variant.getEmpty() method never did anything
com.jacob.com.Variant.getNull() method never did anything
com.jacob.com.Variant.getVariantArray() superseded by SafeArray
com.jacob.com.Variant.getVariantArrayRef() superseded by SafeArray
com.jacob.com.EnumVariant.Next() use nextElement() instead
com.jacob.com.Variant.noParam() replaced by putNoParam()
com.jacob.com.Variant.putByteArray(Object) superseded by SafeArray
com.jacob.com.Variant.putCharArray(Object) superseded by SafeArray
com.jacob.com.Variant.putObject(Object) should use putDispatch()
com.jacob.com.Variant.putObjectRef(Object)
com.jacob.com.Variant.putVariantArray(Variant[]) superseded by SafeArray
com.jacob.com.Variant.putVariantArrayRef(Variant[]) superseded by SafeArray

com.jacob.com.ROT.removeObject(JacobObject)
the java model leave the responsibility of clearing up objects to the Garbage Collector. Our programming model should not require that the user specifically remove object from the thread.
This will remove an object from the ROT
This does not need to be synchronized because only the rot modification related methods need to synchronized. Each individual map is only modified in a single thread.

com.jacob.com.ComThread.RemoveObject(JacobObject) the java model leave the responsibility of clearing up objects to the Garbage Collector. Our programming model should not require that the user specifically remove object from the thread. This will remove an object from the ROT
com.jacob.com.Variant.toBoolean() should be replaced by changeType() followed by getBoolean()
com.jacob.com.Variant.toByte() should be replaced by changeType() followed by getByte()
com.jacob.com.Variant.toByteArray() superseded by SafeArray
com.jacob.com.Variant.toCharArray() superseded by SafeArray
com.jacob.com.Variant.toCurrency() should be replaced by changeType() followed by getCurrency
com.jacob.com.Variant.toDate() should use changeType() followed by getDate()
com.jacob.com.Variant.toDouble() should call changeType() then getDouble()
com.jacob.com.Variant.toError() should use changeType() followed by getError()
com.jacob.com.Variant.toFloat() should use changeType() and getFloat() instead
com.jacob.com.Variant.toInt() should use changeType() followed by getInt()
com.jacob.com.Variant.toJavaDate() callers should use getDate()
com.jacob.com.Variant.toObject() this is a cover for toDispatch();
com.jacob.com.Variant.toScriptObject()
com.jacob.com.Variant.toShort() callers should use changeType() followed by getShort()
com.jacob.com.Variant.toVariant() superseded by "this"
com.jacob.com.Variant.toVariantArray() superseded by SafeArray

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES

http://jacob-project.sourceforge.net